/**
 * 
 */
package com.vercer.engine.proxy;

import java.util.HashMap;
import java.util.Map;

import com.google.apphosting.api.ApiProxy.Environment;

public class DummyEnvironment implements Environment
{
	private final String appId;

	public DummyEnvironment(String appId)
	{
		this.appId = appId;
	}
	
	@Override
	public boolean isLoggedIn()
	{
		return false;
	}

	@Override
	public boolean isAdmin()
	{
		return false;
	}

	@Override
	public String getVersionId()
	{
		return "1.0";
	}

	@Override
	public String getRequestNamespace()
	{
		return "";
	}

	@Override
	public String getEmail()
	{
		return "";
	}

	@Override
	public String getAuthDomain()
	{
		return "";
	}

	@Override
	public Map<String, Object> getAttributes()
	{
		return new HashMap<String, Object>();
	}

	@Override
	public String getAppId()
	{
		return appId;
	}
}